SRCS=$(wildcard *.tex)

SRC=presentation
PRES=presentation
OUTEXT=pdf

TMP=*.aux *.log *.dvi *.toc *.bbl *.blg *.out *.ind *.idx *.ilg *~

COMPIL=pdflatex

all : $(SRC) $(ARCHI)

clean :
	rm -f $(TMP) ;
	
cleanpdf : 
	rm -f *.$(OUTEXT)

$(PRES) : $(SRCS)
	$(COMPIL) $(PRES).tex ; $(COMPIL) $(PRES).tex
